home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
Apps
/
ScreenSavers
/
BackSpaceViews
/
AlarmView.BackModule
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-06-12
|
853b
|
34 lines
INSTALLDIR= $(HOME)/Library/BackSpaceViews
DYNAMODULES= AlarmView.BackO
THINGSTOREMOVE= AlarmView.o Alarm.o
.SUFFIXES: .m .o .c .psw
.c.o:
cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -c $*.c -o $*.o
.m.o:
cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -c $*.m -o $*.o
.psw.h:
pswrap -a -h $*.h -o $*.c $*.psw
.psw.o:
pswrap -a -h $*.h -o $*.c $*.psw
cc -arch m68k -arch i386 -arch hppa -arch sparc -O -g -Wall -c $*.c -o $*.o
all::
$(MAKE) $(DYNAMODULES)
AlarmView.BackO: AlarmView.o AlarmView.h Alarm.o
ld -arch i386 -x -r -o AlarmView.BackO AlarmView.o Alarm.o
clean::
rm -rf $(DYNAMODULES) $(THINGSTOREMOVE)
install:: all install-views
install-views::
mkdirs $(INSTALLDIR)/AlarmView.BackModule
cp AlarmView.BackO $(INSTALLDIR)/AlarmView.BackModule
cp -r Alarm.nib $(INSTALLDIR)/AlarmView.BackModule